package org.example.exp3.exam3;

public abstract class DataFilter {
   protected DataFilter nextFilter;
   
   public void setNextFilter(DataFilter filter) {
      this.nextFilter = filter;
   }
   
   public abstract void handleData();
}